# -*- coding: utf-8 -*-
# @Time    : 2024/8/31 20:17
# @Author  : qd
# @Email   : 1518603573@qq.com
# @File    : beautiful_report.py
# @Software: PyCharm
from BeautifulReport import BeautifulReport
import time
import  unittest
test_dir= "../cases"
discover=unittest.defaultTestLoader.discover(test_dir,pattern="test_chance.py")
BeautifulReport(discover).report(description=u'自动化测试报告', log_path="", filename=time.strftime("%Y_%m_%d %H_%M_%S"))